home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 26 / Mac Magazin and MacEasy Magazine CD - Issue 26.iso / Wissenschaft & Technik / TimGA 1.1 ƒ / Graphs / (2) Bigger graphs / 16 - Binary Tree < prev    next >
Text File  |  1995-08-10  |  559b  |  74 lines

  1.  
  2. |V|:    63        // Number of nodes
  3. |E|:    62        // Number of edges
  4.  
  5.     1    2        // Edges are represented as pairs of node numbers...
  6.     1    3
  7.  
  8.     2    4
  9.     2    5
  10.     3    6
  11.     3    7
  12.  
  13.     4    8
  14.     4    9
  15.     5    10
  16.     5    11
  17.     6    12
  18.     6    13
  19.     7    14
  20.     7    15
  21.  
  22.     8    16
  23.     8    17
  24.     9    18
  25.     9    19
  26.     10    20
  27.     10    21
  28.     11    22
  29.     11    23
  30.     12    24
  31.     12    25
  32.     13    26
  33.     13    27
  34.     14    28
  35.     14    29
  36.     15    30
  37.     15    31
  38.     
  39.     16    32
  40.     16    33
  41.     17    34
  42.     17    35
  43.     18    36
  44.     18    37
  45.     19    38
  46.     19    39
  47.     20    40
  48.     20    41
  49.     21    42
  50.     21    43
  51.     22    44
  52.     22    45
  53.     23    46
  54.     23    47
  55.     24    48
  56.     24    49
  57.     25    50
  58.     25    51
  59.     26    52
  60.     26    53
  61.     27    54
  62.     27    55
  63.     28    56
  64.     28    57
  65.     29    58
  66.     29    59
  67.     30    60
  68.     30    61
  69.     31    62
  70.     31    63
  71.  
  72. ---
  73. This graph is a binary tree.
  74.